<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" action="/dept/save" enctype="multipart/form-data">
    部门名称：<input type="text" name="dname"><br>
    部门位置：<input type="text" name="loc"><br>
    上传图片:<input type="file" name="multipartFile"><br>
    <input type="submit" value="保存">
</form>
</body>
</html>